//
//  NewsModel.m
//  SnailPost
//
//  Created by Q on 16/3/12.
//  Copyright © 2016年 抠泥ser. All rights reserved.
//

#import "NewsModel.h"

@implementation NewsModel

#pragma mark - 容错方法
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"user"]) {
        self.name = value[@"name"];
        self.avatar = value[@"avatar"];
    }
}

@end
